<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/6/29 0029
 * Time: 下午 17:38
 */

?>

<?php

\yii\bootstrap\Modal::begin([
    'id' => 'content-modal',
    'header' => '<p class="modal-title"></p>',
    'bodyOptions' => [
        'class' => 'modal-body modal-body1'
    ],
    // 'footer' => '<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>',
]);

\yii\bootstrap\Modal::end();


$js = "$('#content-modal').find('.modal-title').html('提示');
$('#content-modal').modal('show').find('.modal-body').html('" . $message . "');";
$this->registerJs($js);
?>
